// 应急预案模块路由
import EmergencyPlan from "@/views/EmengercyPlan/EmengercyPlanIndex.vue";
import KnowledgeBase from "@/views/EmengercyPlan/KnowledgeBase/KnowledgeBase.vue";
import KnowledgeBaseDetail from "@/views/EmengercyPlan/KnowledgeBase/KnowledgeBaseDetail.vue";
import KnowledgeBasePreview from "@/views/EmengercyPlan/KnowledgeBase/KnowledgeBasePreview.vue";
import PlanManagement from "@/views/EmengercyPlan/PlanManagement/PlanManagement.vue";
import PlanManagementDetail from "@/views/EmengercyPlan/PlanManagement/PlanManagementDetail.vue";
import PlanManagementPreview from "@/views/EmengercyPlan/PlanManagement/PlanManagementPreview.vue";

const routes = [
  { // 应急预案
    path: "/EmergencyPlan",
    name: "EmergencyPlan",
    component: EmergencyPlan,
    meta: {
      keep_alive: true
    }
  },
  { // 知识库
    path: "/KnowledgeBase",
    name: "KnowledgeBase",
    component: KnowledgeBase,
    meta: {
      keep_alive: true
    }
  },
  { // 知识库详情
    path: "/KnowledgeBaseDetail",
    name: "KnowledgeBaseDetail",
    component: KnowledgeBaseDetail,
    meta: {
      keep_alive: true
    }
  },
  { // 知识库预览
    path: "/KnowledgeBasePreview",
    name: "KnowledgeBasePreview",
    component: KnowledgeBasePreview,
    meta: {
      keep_alive: true
    }
  },
  { // 预案管理
    path: "/PlanManagement",
    name: "PlanManagement",
    component: PlanManagement,
    meta: {
      keep_alive: true
    }
  },
  { // 预案详情
    path: "/PlanManagementDetail",
    name: "PlanManagementDetail",
    component: PlanManagementDetail,
    meta: {
      keep_alive: true
    }
  },
  { // 预案预览
    path: "/PlanManagementPreview",
    name: "PlanManagementPreview",
    component: PlanManagementPreview,
    meta: {
      keep_alive: true
    }
  }];
export default routes;
